home *** CD-ROM | disk | FTP | other *** search
- Path: news1.channel1.com!usenet
- From: johnh@user1.channel1.com (John Herzfeld)
- Newsgroups: comp.sys.amiga.emulations
- Subject: Re: BridgeBoard Key-Codes
- Date: 7 Mar 1996 09:58:29 GMT
- Organization: Channel 1 Communications
- Message-ID: <8734.6640T599T1725@user1.channel1.com>
- References: <Bert_Allen.jkw4@sacbbx.com>
- NNTP-Posting-Host: remote39.channel1.com
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- > Need HELP finding MISSING B-B Key-Codes -- Some keys do not function
- >when running PC Programs (Like "Alt-Enter").
- >
- > There are 2 Files in the PC/System/ Sub-Directory named;
- >
- > ScanCode.Table *and* SidecarKeys.Table
- > -------------- -----------------
- >
- >that 'Map' the 'PC-Keys' that the B-B uses -- But *not* ALL 'Key-Codes'
- >have a 'Hex' value and therefore don't function as 'PC-Keys'.
- >
- > I would like to 'Compare' the ones I have with what come with '286 and
- >'386 BridgeBoards -- They are Both 'ASCII-Text' Files, so can be 'Sent'
- >as 'Message-Line' in a Return Message.
- >
- > *Someone* PLEASE Help a *Fellow* BridgeBoard-er !!!
- >
- > THANKS in Advance !!!
- >
-
- Here is my Scancode.Table:
-
- ;* **************************************************************************
- ;*
- ;* Ascii to Scancode Translation Table from the Amiga Keyboard to PC Windows
- ;* For the Zaphod Project
- ;*
- ;* Copyright (C) 1987, Commodore-Amiga, Inc.
- ;*
- ;* PROPRIETARY
- ;*
- ;* HISTORY Name Description
- ;* ------- ------------ --------------------------------------------
- ;* 13 Jan 87 =RJ Mical= Created this file from the table in ascii2pc.c
- ;*
- ;* **************************************************************************
-
- ; This file contains the definitions of the scancode combinations that
- ; must be sent to the PC in order to emulate the PC keyboard entry
- ; of ASCII characters.
- ;
- ; Each ASCII entry is comprised of two parts: flags describing which
- ; control characters must be sent with the scancode; and the scancode.
- ; For example, to send a control-a, the control key must be sent along with
- ; the scancode for the letter a. To send an uppercase-a, the shift key
- ; must be sent along with the scancode for 'a'. A special case is
- ; control-NULL (precedes control-a), which is achieved by specifying
- ; the control key, the shift key and the scancode for '2'.
- ;
- ; To specify the control characters, use these flags:
- ; $01 - Send the CONTROL scancode
- ; $02 - Send the SHIFT scancode
- ; $03 - For your reference, this means: send both CONTROL and SHIFT
- ; If you want no control characters, specify $00 of course.
- ;
- ; These values are currently for the American keyboard.
-
-
- $03, 3, ; ^@
-
- $01, 30, ; ^A
- $01, 48, ; ^B
- $01, 46, ; ^C
- $01, 32, ; ^D
- $01, 18, ; ^E
- $01, 33, ; ^F
- $01, 34, ; ^G
- $01, 35, ; ^H
- $01, 23, ; ^I
- $01, 50, ; ^J ??? Was equal to 36, now 50 for \n from Notepad
- $01, 37, ; ^K
- $01, 38, ; ^L
- $01, 50, ; ^M
- $01, 49, ; ^N
- $01, 24, ; ^O
- $01, 25, ; ^P
- $01, 16, ; ^Q
- $01, 19, ; ^R
- $01, 31, ; ^S
- $01, 20, ; ^T
- $01, 22, ; ^U
- $01, 47, ; ^V
- $01, 17, ; ^W
- $01, 45, ; ^X
- $01, 21, ; ^Y
- $01, 44, ; ^Z
- $00, 1, ; ESCAPE key
- $00, 0, ; ??? 28
- $00, 0, ; ??? 29
- $00, 0, ; ??? 30
- $00, 0, ; ??? 31
-
- $00, 57, ; SPACE
- $02, 2, ; !
- $02, 40, ; "
- $02, 4, ; #
- $02, 5, ; $
- $02, 6, ; %
- $02, 8, ; &
- $00, 40, ; '
- $02, 10, ; (
- $02, 11, ; )
- $02, 9, ; *
- $02, 13, ; +
- $00, 51, ; ,
- $00, 12, ; -
- $00, 52, ; .
- $00, 53, ; /
- $00, 11, ; 0
- $00, 2, ; 1
- $00, 3, ; 2
- $00, 4, ; 3
- $00, 5, ; 4
- $00, 6, ; 5
- $00, 7, ; 6
- $00, 8, ; 7
- $00, 9, ; 8
- $00, 10, ; 9
- $02, 39, ; :
- $00, 39, ; ;
- $02, 51, ; <
- $00, 13, ; =
- $02, 52, ; >
- $02, 53, ; ?
-
- $02, 3, ; @
- $02, 30, ; A
- $02, 48, ; B
- $02, 46, ; C
- $02, 32, ; D
- $02, 18, ; E
- $02, 33, ; F
- $02, 34, ; G
- $02, 35, ; H
- $02, 23, ; I
- $02, 36, ; J
- $02, 37, ; K
- $02, 38, ; L
- $02, 50, ; M
- $02, 49, ; N
- $02, 24, ; O
- $02, 25, ; P
- $02, 16, ; Q
- $02, 19, ; R
- $02, 31, ; S
- $02, 20, ; T
- $02, 22, ; U
- $02, 47, ; V
- $02, 17, ; W
- $02, 45, ; X
- $02, 21, ; Y
- $02, 44, ; Z
- $00, 26, ; [
- $00, 43, ; \
- $00, 27, ; ]
- $02, 7, ; ^
- $02, 12, ; _
-
- $00, 41, ; `
- $00, 30, ; a
- $00, 48, ; b
- $00, 46, ; c
- $00, 32, ; d
- $00, 18, ; e
- $00, 33, ; f
- $00, 34, ; g
- $00, 35, ; h
- $00, 23, ; i
- $00, 36, ; j
- $00, 37, ; k
- $00, 38, ; l
- $00, 50, ; m
- $00, 49, ; n
- $00, 24, ; o
- $00, 25, ; p
- $00, 16, ; q
- $00, 19, ; r
- $00, 31, ; s
- $00, 20, ; t
- $00, 22, ; u
- $00, 47, ; v
- $00, 17, ; w
- $00, 45, ; x
- $00, 21, ; y
- $00, 44, ; z
- $02, 26, ; {
- $02, 43, ; |
- $02, 27, ; }
- $02, 41, ; ~
-
- $00, 14, ; DEL key
-
- Here is my Sidecarkeys.table
-
-
- ;* **************************************************************************
- ;*
- ;* Input Translation Table from the Amiga Keyboard to the Sidecar
- ;* For the Zaphod Project
- ;*
- ;* Copyright (C) 1986, 1987, 1988, Commodore-Amiga, Inc.
- ;*
- ;* CONFIDENTIAL and PROPRIETARY
- ;*
- ;* HISTORY Name Description
- ;* ------- ------ --------------------------------------------
- ;* 20 Mar 89 T.Burgdorff Changed table for international AT keyboards
- ;* 24 Jul 88 =RJ= Added cursor cases to end of file
- ;* 20 Mar 87 =RJ= Made "final" adjustments
- ;* 27 Feb 87 R.Goedecke Implemented German version
- ;* 14 Apr 86 =RJ Mical= Created this file from the table in imtask.c
- ;*
- ;* **************************************************************************
-
-
-
- ; This file starts with the special cases.
- ; These values are currently for the American keyboard.
-
- $38 ; The PC Alt code
- $3A ; The PC Caps Lock code
- $1D ; The PC Ctrl code
- $2A ; The PC Left Shift code
- $45 ; The PC Num Lock code
- $4E ; The PC + (on the numeric keypad) code
- $37 ; The PC Ptr Scr * code
- $36 ; The PC Right Shift code
- $46 ; The PC Scroll Lock code
- $0D ; The PC Tilde code
- $08 ; The PC Bar code
- $0C ; The PC BackDash code
- $2B ; The PC BackSlash code
-
-
- $62 ; The Amiga Caps Lock code
- $64 ; The Amiga Left Alt code
- $36 ; The Amiga N code
- $19 ; The Amiga P code
- $0C ; The Amiga + code
- $65 ; The Amiga Right Alt code
- $21 ; The Amiga S code
- $5D ; The Amiga equivalent of the Prt Scr key
- $FF ; The Amiga TildeBackDash code ($FF for non-German, $00 for German)
- $FF ; The Amiga BarBackSlash code ($FF for non-German, $0D for German)
-
-
-
- ; What follows next is the normal translation table, after all the
- ; special cases have been processed. There are 128 entries in this
- ; byte table, which entries describe what to translate the normal
- ; Amiga keycodes into to satisfy the PC in this area.
- ;
- ; This table is currently known to be good for the American keyboard.
- ; If you are using a non-American keyboard, you should check this table.
-
- $29 $02 $03 $04 $05 $06 $07 $08 ; 00 - 07
- $09 $0A $0B $0C $0D $2B $FF $D2 ; 08 - 0F
- $10 $11 $12 $13 $14 $15 $16 $17 ; 10 - 17
- $18 $19 $1A $1B $FF $CF $D0 $D1 ; 18 - 1F
- $1E $1F $20 $21 $22 $23 $24 $25 ; 20 - 27
- $26 $27 $28 $55 $FF $CB $CC $CD ; 28 - 2F
- $56 $2C $2D $2E $2F $30 $31 $32 ; 30 - 37
- $33 $34 $35 $FF $D3 $C7 $C8 $C9 ; 38 - 3F
- $39 $0E $0F $1C $1C $01 $53 $FF ; 40 - 47
- $FF $FF $4A $FF $48 $50 $4D $4B ; 48 - 4F
- $3B $3C $3D $3E $3F $40 $41 $42 ; 50 - 57
- $43 $44 $45 $46 $54 $37 $4E $46 ; 58 - 5F
- $2A $36 $3A $1D $38 $38 $FF $FF ; 60 - 67
- $FF $FF $FF $FF $FF $FF $FF $FF ; 68 - 6F
- $FF $FF $FF $FF $FF $FF $FF $FF ; 70 - 77
- $FF $FF $FF $FF $FF $FF $FF $FF ; 78 - 7F
-
-
- $52 ; The PC Numeric Keypad 0 key (insert key)
- $4F ; The PC Numeric Keypad 1 key (end key)
- $50 ; The PC Numeric Keypad 2 key (down-cursor key)
- $51 ; The PC Numeric Keypad 3 key (page-down key)
- $4B ; The PC Numeric Keypad 4 key (left-cursor key)
- $4C ; The PC Numeric Keypad 5 key
- $4D ; The PC Numeric Keypad 6 key (right-cursor key)
- $47 ; The PC Numeric Keypad 7 key (home key)
- $48 ; The PC Numeric Keypad 8 key (up-cursor key)
- $49 ; The PC Numeric Keypad 9 key (page-up key)
- $53 ; The PC Numeric Keypad Dot (del key)
-
- $4C ; The Amiga Up-Cursor code
- $4F ; The Amiga Left-Cursor code
- $4E ; The Amiga Right-Cursor code
- $4D ; The Amiga Down-Cursor code
- $46 ; The Amiga DEL key
-
-
-
- Hope this helps. I have never tinkered with them.
-
-